<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021-10-22
  Time: 14:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
    <h2>该房东所有的房源:</h2>
    <%--${serverResponse}--%>

    <%--==========================数据渲染===========================--%>
    <ul>
        <c:forEach var="hotel" items="${serverResponse.data}">
            <li>
                房屋id:${hotel.hotelId}    ,
                房屋名称：${hotel.hotelName}  ,
                房屋价格：${hotel.hotelPrice}    ,
                房东所在城市:${hotel.hotelCity}
            </li>
        </c:forEach>
    </ul>
    </body>
</html>
